public class Dog {
    public String name;
    public int age;
    public String color;

    public void bark(){
        System.out.println(name+"吼叫");
    }
    public  void sleep(){
        System.out.println(name+"入睡");
    }
}
